package com.yijia.android.upload;

/**
 * @ClassName: FileUploadListener
 * @Description: TODO(文件上传进度显示)
 * @author wsg
 * @date 2015年4月29日
 * 
 */
public interface FileUploadListener {

	/**
	 * @Title: publishProgressShow
	 * @Description: TODO(显示)
	 * @param
	 * @return void
	 * @throws
	 */
	public void publishProgressShow();

	/**
	 * @Title: publishProgressDismiss
	 * @Description: TODO(隐藏)
	 * @param
	 * @return void
	 * @throws
	 */
	public void publishProgressDismiss();

	/**
	 * @Title: publishProgress
	 * @Description: TODO(进度条)
	 * @param @param transferedBytes
	 * @param @param totalSize
	 * @return void
	 * @throws
	 */
	public void publishProgress(long transferedBytes, long totalSize);
	// (int) (100 * transferedBytes / totalSize)
}
